package yxm.zyf.love.service.impl;

import org.springframework.stereotype.Service;

import yxm.zyf.love.domian.PayRequestVO;
import yxm.zyf.love.service.OrderPayOperationService;

@Service
public class AlipayOrderPayOperationServiceImpl implements OrderPayOperationService {

    @Override
    public boolean supports(PayRequestVO delimiter) {
        return "alipay".equalsIgnoreCase(delimiter.getChannel());
    }

    @Override
    public String orderPay(PayRequestVO vo) {
        return "支付宝支付";
    }

}
